android studio change image on button click

116

android studio change image on button click -

ImageButton btn = (ImageButton)findViewById(R.id.imageButton1);       
 btn.setImageResource(R.drawable.actions_record);

Comments

Submit
0 Comments